package com.azunitech.jms.common;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Parts implements Serializable {

	private static final long serialVersionUID = 1L;
	private String m_Number;
	public ArrayList<Location> m_Location = new ArrayList<Location>();
	
	public Parts( String partNumber){
		this.m_Number = partNumber;
		this.m_Location.add(new Location());
	}
	
	public String toString(){
		StringBuffer buffer = new StringBuffer();
		buffer.append("number= " + this.m_Number).append(" ");
		buffer.append("location number: " + this.m_Location.size());
		return buffer.toString();
	}
}
